package com.founder.chd_daily_query.entity.query;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sun.istack.Nullable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "LAND_COAL_SETTLE")
public class LandCoalSettleEntity {

    @Id
    @Column(name = "BALANCE_ID")
    private String balanceId;

    @Column(name = "POWERSTATION_ID")
    private String powerstationId;

    @Column(name = "BALANCE_CODE")
    private String balanceCode;

    @Nullable
    @Column(name = "VEHICLES_NUM")
    private Float vehiclesNum;

    @Nullable
    @Column(name = "AMOUNT_BALANCE")
    private Float amountBalance;

    @Column(name = "IS_PAY")
    private String isPay;

    @Nullable
    @Column(name = "MONEY_ALL")
    private Float moneyAll;

    @Nullable
    @Column(name = "SETTLEMENT_RATE")
    private Float settlementRate;

    @Nullable
    @Column(name = "STANDARD_COAL_UNITPRICE")
    private Float standardCoalUnitprice;

    @Nullable
    @Column(name = "SETTLE_UNITPRICE")
    private Float settleUnitprice;

    @Column(name = "BALANCE_CODE_N")
    private String balanceCodeN;

    @Nullable
    @Column(name = "VEHICLES_NUM_N")
    private Float vehiclesNumN;

    @Nullable
    @Column(name = "AMOUNT_BALANCE_N")
    private Float amountBalanceN;

    @Nullable
    @Column(name = "AMOUNT_DUE")
    private Float amountDue;

    @Nullable
    @Column(name = "AMOUNT_RECEIVED")
    private Float amountReceived;

    @Nullable
    @Column(name = "SETTLEMENT_RATE_N")
    private Float settlementRateN;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @JSONField(format = "yyyy-MM-dd")
    @Column(name = "CREATE_DATE")
    private Date createDate;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @JSONField(format = "yyyy-MM-dd")
    @Column(name = "LAST_UPDATE_DATE")
    private Date lastUpdateDate;

    @Column(name = "QUALITY_TYPE")
    private String qualityType;

    @Column(name = "QUALITY_SORT")
    private String qualitySort;

    @Nullable
    @Column(name = "VALUE")
    private Float value;

    @Column(name = "CONTRACT_ID")
    private String contractId;

    @Column(name = "BALANCE_BATCH_ID", length = 100)
    private String balanceBatchId;

    @Column(name = "AMOUNT_CHECK")
    private Long amountCheck;

    @Column(name = "AMOUNT_UNBALANCE")
    private Long amountUnbalance;

    public Long getAmountUnbalance() {
        return amountUnbalance;
    }

    public void setAmountUnbalance(Long amountUnbalance) {
        this.amountUnbalance = amountUnbalance;
    }

    public Long getAmountCheck() {
        return amountCheck;
    }

    public void setAmountCheck(Long amountCheck) {
        this.amountCheck = amountCheck;
    }

    public String getBalanceBatchId() {
        return balanceBatchId;
    }

    public void setBalanceBatchId(String balanceBatchId) {
        this.balanceBatchId = balanceBatchId;
    }

    public String getBalanceId() {
        return balanceId;
    }

    public void setBalanceId(String balanceId) {
        this.balanceId = balanceId;
    }

    public String getBalanceCode() {
        return balanceCode;
    }

    public void setBalanceCode(String balanceCode) {
        this.balanceCode = balanceCode;
    }

    public Float getVehiclesNum() {
        return vehiclesNum;
    }

    public void setVehiclesNum(Float vehiclesNum) {
        this.vehiclesNum = vehiclesNum;
    }

    public Float getAmountBalance() {
        return amountBalance;
    }

    public void setAmountBalance(Float amountBalance) {
        this.amountBalance = amountBalance;
    }

    public String getIsPay() {
        return isPay;
    }

    public void setIsPay(String isPay) {
        this.isPay = isPay;
    }

    public Float getMoneyAll() {
        return moneyAll;
    }

    public void setMoneyAll(Float moneyAll) {
        this.moneyAll = moneyAll;
    }

    public Float getSettlementRate() {
        return settlementRate;
    }

    public void setSettlementRate(Float settlementRate) {
        this.settlementRate = settlementRate;
    }

    public Float getStandardCoalUnitprice() {
        return standardCoalUnitprice;
    }

    public void setStandardCoalUnitprice(Float standardCoalUnitprice) {
        this.standardCoalUnitprice = standardCoalUnitprice;
    }

    public String getPowerstationId() {
        return powerstationId;
    }

    public void setPowerstationId(String powerstationId) {
        this.powerstationId = powerstationId;
    }

    public Float getSettleUnitprice() {
        return settleUnitprice;
    }

    public void setSettleUnitprice(Float settleUnitprice) {
        this.settleUnitprice = settleUnitprice;
    }

    public String getBalanceCodeN() {
        return balanceCodeN;
    }

    public void setBalanceCodeN(String balanceCodeN) {
        this.balanceCodeN = balanceCodeN;
    }

    public Float getVehiclesNumN() {
        return vehiclesNumN;
    }

    public void setVehiclesNumN(Float vehiclesNumN) {
        this.vehiclesNumN = vehiclesNumN;
    }

    public Float getAmountBalanceN() {
        return amountBalanceN;
    }

    public void setAmountBalanceN(Float amountBalanceN) {
        this.amountBalanceN = amountBalanceN;
    }

    public Float getAmountDue() {
        return amountDue;
    }

    public void setAmountDue(Float amountDue) {
        this.amountDue = amountDue;
    }

    public Float getAmountReceived() {
        return amountReceived;
    }

    public void setAmountReceived(Float amountReceived) {
        this.amountReceived = amountReceived;
    }

    public Float getSettlementRateN() {
        return settlementRateN;
    }

    public void setSettlementRateN(Float settlementRateN) {
        this.settlementRateN = settlementRateN;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getLastUpdateDate() {
        return lastUpdateDate;
    }

    public void setLastUpdateDate(Date lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }

    public String getQualityType() {
        return qualityType;
    }

    public void setQualityType(String qualityType) {
        this.qualityType = qualityType;
    }

    public String getQualitySort() {
        return qualitySort;
    }

    public void setQualitySort(String qualitySort) {
        this.qualitySort = qualitySort;
    }

    public Float getValue() {
        return value;
    }

    public void setValue(Float value) {
        this.value = value;
    }

    public String getContractId() {
        return contractId;
    }

    public void setContractId(String contractId) {
        this.contractId = contractId;
    }

    @Override
    public String toString() {
        return "LandCoalSettleEntity{" +
                "balanceId='" + balanceId + '\'' +
                ", powerstationId='" + powerstationId + '\'' +
                ", balanceCode='" + balanceCode + '\'' +
                ", vehiclesNum=" + vehiclesNum +
                ", amountBalance=" + amountBalance +
                ", isPay='" + isPay + '\'' +
                ", moneyAll=" + moneyAll +
                ", settlementRate=" + settlementRate +
                ", standardCoalUnitprice=" + standardCoalUnitprice +
                ", settleUnitprice=" + settleUnitprice +
                ", balanceCodeN='" + balanceCodeN + '\'' +
                ", vehiclesNumN=" + vehiclesNumN +
                ", amountBalanceN=" + amountBalanceN +
                ", amountDue=" + amountDue +
                ", amountReceived=" + amountReceived +
                ", settlementRateN=" + settlementRateN +
                ", createDate=" + createDate +
                ", lastUpdateDate=" + lastUpdateDate +
                ", qualityType='" + qualityType + '\'' +
                ", qualitySort='" + qualitySort + '\'' +
                ", value=" + value +
                ", contractId='" + contractId + '\'' +
                ", balanceBatchId='" + balanceBatchId + '\'' +
                ", amountCheck=" + amountCheck +
                ", amountUnbalance=" + amountUnbalance +
                '}';
    }
}
